package com.kf.kuafuoa;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * app启动类
 * @author ChrisGod
 */

@SpringBootApplication
@ComponentScan("com.kf")
@MapperScan("com.kf.mapper")
@EnableTransactionManagement
@Configuration
public class KuafuoaApplication {

    public static void main(String[] args) {
        SpringApplication.run(KuafuoaApplication.class, args);
    }

}
